#define  _CRT_SECURE_NO_WARNINGS 1
#include<Stdio.h>
#include<stdlib.h>


int* getConcatenation(int* nums, int numsSize, int* returnSize)
{

	int* ans = (int*)malloc(numsSize * sizeof(int) * 2);
	memcpy(ans, nums, numsSize * sizeof(int));
	memmove(ans + numsSize, ans, numsSize * sizeof(int));
	return ans;

}



//
//int main()
//{
//
//	return 0;
//}